<?php
/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Wall
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 * @version    $Id: Create.php 2011-04-26 11:18:13 michael $
 * @author     Michael
 */

/**
 * @category   Application_Extensions
 * @package    Wall
 * @copyright  Copyright Hire-Experts LLC
 * @license    http://www.hire-experts.com
 */

class Wall_Form_Link_Create extends Engine_Form {
	public function init() {
		$this->addElement ( 'Text', 'uri', array ('required' => true, 'allowEmpty' => false, 'filters' => array (new Engine_Filter_HtmlSpecialChars (), new Engine_Filter_Censor () ) ) );
		
		$this->addElement ( 'Text', 'title', array ('required' => true, 'allowEmpty' => false, 'filters' => array (new Engine_Filter_Censor (), new Engine_Filter_HtmlSpecialChars () ) ) );
		
		$this->addElement ( 'Text', 'description', array ('filters' => array (new Engine_Filter_Censor (), new Engine_Filter_HtmlSpecialChars () ) ) );
		
		$this->addElement ( 'Hidden', 'thumbnail' );
	}
}